//
//  DCFNormalView.h
//  DCF
//
//  Created by 吴文拼 on 2017/12/26.
//  Copyright © 2017年 吴文拼. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Masonry.h>
@interface DCFNormalView : UIView

@property (nonatomic , assign)CGFloat topClickOffset;
@property (nonatomic , assign)CGFloat bottomClickOffset;
@property (nonatomic , assign)CGFloat leftClickOffset;
@property (nonatomic , assign)CGFloat rightClickOffset;

- (void) set_dcf_EnlargeEdgeWithTop:(CGFloat) top right:(CGFloat) right bottom:(CGFloat) bottom left:(CGFloat) left;

- (void) set_dcf_backgroundColor:(UIColor *)backgroundColor;

- (void) set_dcf_layerCornerRadius:(CGFloat)cornerRadius;

- (void) set_dcf_layerBackgroundColor:(UIColor *)backgroundColor;


@end

@interface DCFNormalLabel : UILabel

@property (nonatomic , assign)CGFloat topClickOffset;
@property (nonatomic , assign)CGFloat bottomClickOffset;
@property (nonatomic , assign)CGFloat leftClickOffset;
@property (nonatomic , assign)CGFloat rightClickOffset;

- (void) set_dcf_EnlargeEdgeWithTop:(CGFloat) top right:(CGFloat) right bottom:(CGFloat) bottom left:(CGFloat) left;

- (void) set_dcf_textAligment:(NSTextAlignment)textAligment;

- (void) set_dcf_font:(UIFont *)font;

- (void) set_dcf_textColor:(UIColor *)textColor;

- (void) set_dcf_backgroundColor:(UIColor *)backgroundColor;

- (void) set_dcf_layerCornerRadius:(CGFloat)cornerRadius;

- (void) set_dcf_layerBackgroundColor:(UIColor *)backgroundColor;

@end


@interface DCFNormalImageView : UIImageView

@property (nonatomic , assign)CGFloat topClickOffset;
@property (nonatomic , assign)CGFloat bottomClickOffset;
@property (nonatomic , assign)CGFloat leftClickOffset;
@property (nonatomic , assign)CGFloat rightClickOffset;

- (void) set_dcf_EnlargeEdgeWithTop:(CGFloat) top right:(CGFloat) right bottom:(CGFloat) bottom left:(CGFloat) left;

- (void) set_dcf_backgroundColor:(UIColor *)backgroundColor;

- (void) set_dcf_image:(UIImage *)image;

- (void) set_dcf_layerCornerRadius:(CGFloat)cornerRadius;

- (void) set_dcf_layerBackgroundColor:(UIColor *)backgroundColor;


@end

@interface DCFButton : UIButton

@property (nonatomic , assign)CGFloat topClickOffset;
@property (nonatomic , assign)CGFloat bottomClickOffset;
@property (nonatomic , assign)CGFloat leftClickOffset;
@property (nonatomic , assign)CGFloat rightClickOffset;

- (void) set_dcf_EnlargeEdgeWithTop:(CGFloat) top right:(CGFloat) right bottom:(CGFloat) bottom left:(CGFloat) left;

- (void)set_dcf_Title:(nullable NSString *)title forState:(UIControlState)state;
- (void)set_dcf_TitleColor:(nullable UIColor *)color forState:(UIControlState)state;
- (void)set_dcf_TitleShadowColor:(nullable UIColor *)color forState:(UIControlState)state;
- (void)set_dcf_Image:(nullable UIImage *)image forState:(UIControlState)state;
- (void)set_dcf_BackgroundImage:(nullable UIImage *)image forState:(UIControlState)state;
- (void)set_dcf_BackgroundColor:(nullable UIColor *)color forState:(UIControlState)state;
- (void)set_dcf_AttributedTitle:(nullable NSAttributedString *)title forState:(UIControlState)state;
- (void) set_dcf_layerCornerRadius:(CGFloat)cornerRadius;

@end

@interface DCFPageControl : UIPageControl

- (void)set_dcf_currentPage:(NSInteger)currentPage;

@end

@interface DCFTextField : UITextField



@end

